<{assign var="tpl_page_title" value="品牌筛选"}>
<{include file="mobile/block/header.html"}>
<section id="" class="page_center_box">
<{widget id="brand/mobile" brand_id=$pager.brand_id cat_id=$pager.cat_id  attr_values=$pager.attr_values order=$pager.order tpl="mobile/brand/filter.html"}>
<ul class="decorator_list_box mt10">
	<{foreach $items as $item}>
	<li class="decorator_list"> <a href="<{link ctl='mobile/product:detail' arg0=$item.product_id}>">
		<div class="fl img"><img src="<{$pager.img}>/<{$item.photo}>"></div>
		<div class="wz">
			<p class="black3"><{$item.name}></p>
		    <p class="overflow_clear black9"><{$item.title|cutstr:100}></p>
            <p class="nowrap"><span><b class="fontcl2">￥<{$item.price}></b></span><del class="black9 ml10">￥<{$item.market_price}></del></p>
		</div>
		<div class="clear"></div>
		</a> </li>
	<{/foreach}>
</ul>
<div class="page"><{$pager.pagebar}></div>
<script type="text/javascript">
$(document).ready(function () {
	/*轮播幻灯图开始*/
	$('.flexslider').flexslider({
		directionNav: true,
		pauseOnAction: false,
		/*slideshow: false,*/
		/*touch:true,*/
	});
	/*轮播幻灯图结束*/
	/*瀑布流效果开始*/
	(function(K, $){
	  var $container = $('#xgtContainer');
		  $container.imagesLoaded(function(){
			$container.masonry({itemSelector: '.case_aterfall_li'});
		}); 
	})(window.KT, window.jQuery);
	/*瀑布流效果结束*/
	/*头部下来分类开始*/
	$("#search-bar .search-bar_list .list").each(function(e){
		$(this).click(function(){
			if($(this).hasClass("on")){
				$(this).parent().find(".list").removeClass("on");
				$(this).removeClass("on");
				$(".mask_bg").hide();
				$("#search-bar .search-bar_pull").hide();
			}
			else{
				$(this).parent().find(".list").removeClass("on");
				$(this).addClass("on");
				$(".mask_bg").show();
				$("#search-bar .search-bar_pull").show();
			}
			$("#search-bar .search-bar_pull .list_box").each(function(i){
				if(e==i){
					$(this).parent().find(".list_box").hide();
					$(this).show();
				}
				else{
					$(this).hide();
				}
				$(this).find("li").click(function(){
					$(this).parent().find("li").removeClass("on");
					$(this).addClass("on");
					$(".mask_bg").hide();
					$("#search-bar .search-bar_pull").hide();
					$("#search-bar .search-bar_list .list").removeClass("on");
				});
			});
		});
	});
	/*头部下来分类开始*/
});
</script> 
<script type="text/javascript" src="<{$pager.res}>/script/jquery.masonry.min.js"></script> 
<{include file="mobile/block/footer.html"}>
